home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_ImageMagick.idb / usr / freeware / catman / u_man / cat1 / mogrify.Z / mogrify
Encoding:
Text File  |  1999-01-26  |  53.9 KB  |  1,255 lines

  1.  
  2.  
  3.  
  4.      mmmmooooggggrrrriiiiffffyyyy((((1111))))         IIIImmmmaaaaggggeeeeMMMMaaaaggggiiiicccckkkk ((((1111    MMMMaaaayyyy 1111999999994444))))        mmmmooooggggrrrriiiiffffyyyy((((1111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       mogrify - transform an image or sequence of images
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.       mmmmooooggggrrrriiiiffffyyyy [[[[ _o_p_t_i_o_n_s ............]]]] _f_i_l_e [    [ _o_p_t_i_o_n_s ...] _f_i_l_e ...]
  13.  
  14.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.       mmmmooooggggrrrriiiiffffyyyy transforms an    image or a sequence of images.    These
  16.       transforms include image scaling, image rotation, color
  17.       reduction, and others.  The transmogrified image overwrites
  18.       the original image.
  19.  
  20.      EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
  21.       To convert all the TIFF files    in a particular    directory to
  22.       JPEG,    use:
  23.  
  24.           mogrify -format jpeg *.tiff
  25.  
  26.       To scale an image of a cockatoo to exactly 640 pixels    in
  27.       width    and 480    pixels in height, use:
  28.  
  29.           mogrify -geometry    640x480! cockatoo.miff
  30.  
  31.      OOOOPPPPTTTTIIIIOOOONNNNSSSS
  32.       ----aaaalllliiiiggggnnnn _t_y_p_e
  33.            the type    of text    alignment: LLLLeeeefffftttt, CCCCeeeennnntttteeeerrrr, or RRRRiiiigggghhhhtttt.
  34.            The default is CCCCeeeennnntttteeeerrrr.  See ----ddddrrrraaaawwww or for    further
  35.            details.
  36.  
  37.       ----bbbblllluuuurrrr    _f_a_c_t_o_r
  38.            blurs an    image.    Specify    _f_a_c_t_o_r as the percent
  39.            enhancement (0.0    - 99.9%).
  40.  
  41.       ----bbbboooorrrrddddeeeerrrr <_w_i_d_t_h>_x<_h_e_i_g_h_t>
  42.            surround    the image with a border    of color.  See XXXX((((1111))))
  43.            for details about the geometry specification.
  44.  
  45.            The color of the    border is obtained from    the X server
  46.            and is defined as bbbboooorrrrddddeeeerrrrccccoooolllloooorrrr (class bbbboooorrrrddddeeeerrrrCCCCoooolllloooorrrr).  See
  47.            XXXX((((1111)))) for    details.
  48.  
  49.       ----bbbbooooxxxx _c_o_l_o_r
  50.            set the color of    the annotation bounding    box.  See
  51.            ----ddddrrrraaaawwww or    for further details.
  52.  
  53.            See XXXX((((1111))))    for details about the color specification.
  54.  
  55.       ----cccchhhhaaaarrrrccccooooaaaallll _f_a_c_t_o_r
  56.            simulate    a charcoal drawing.
  57.  
  58.       ----ccccoooolllloooorrrriiiizzzzeeee _v_a_l_u_e
  59.            colorize    the image with the pen color.
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 12/17/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      mmmmooooggggrrrriiiiffffyyyy((((1111))))         IIIImmmmaaaaggggeeeeMMMMaaaaggggiiiicccckkkk ((((1111    MMMMaaaayyyy 1111999999994444))))        mmmmooooggggrrrriiiiffffyyyy((((1111))))
  71.  
  72.  
  73.  
  74.            Specify the amount of colorization as a percentage.
  75.            You can apply separate colorization values to the red,
  76.            green, and blue channels    of the image with a
  77.            colorization value list delineated with slashes (e.g.
  78.            0/0/50).
  79.  
  80.       ----ccccoooolllloooorrrrssss _v_a_l_u_e
  81.            preferred number    of colors in the image.
  82.  
  83.            The actual number of colors in the image    may be less
  84.            than your request, but never more.  Note, this is a
  85.            color reduction option.    Images with less unique    colors
  86.            than specified with this    option will have any duplicate
  87.            or unused colors    removed.  Refer    to qqqquuuuaaaannnnttttiiiizzzzeeee((((9999)))) for
  88.            more details.
  89.  
  90.            If more than one    image is specified on the command
  91.            line, a single colormap is created and saved with each
  92.            image.
  93.  
  94.            Note, options ----ccccoooolllloooorrrrmmmmaaaapppp,    ----ddddiiiitttthhhheeeerrrr, ----ccccoooolllloooorrrrssssppppaaaacccceeee, and
  95.            ----ttttrrrreeeeeeeeddddeeeepppptttthhhh affect the color reduction algorithm.
  96.  
  97.       ----ccccoooolllloooorrrrssssppppaaaacccceeee _v_a_l_u_e
  98.            the type    of colorspace: GGGGRRRRAAAAYYYY, OOOOHHHHTTTTAAAA, RRRRGGGGBBBB,    TTTTrrrraaaannnnssssppppaaaarrrreeeennnntttt,
  99.            XXXXYYYYZZZZ, YYYYCCCCbbbbCCCCrrrr, YYYYIIIIQQQQ,    YYYYPPPPbbbbPPPPrrrr, YYYYUUUUVVVV, or CCCCMMMMYYYYKKKK.
  100.  
  101.            Color reduction,    by default, takes place    in the RGB
  102.            color space.  Empirical evidence    suggests that
  103.            distances in color spaces such as YUV or    YIQ correspond
  104.            to perceptual color differences more closely than do
  105.            distances in RGB    space.    These color spaces may give
  106.            better results when color reducing an image.  Refer to
  107.            qqqquuuuaaaannnnttttiiiizzzzeeee((((9999)))) for more details.
  108.  
  109.            The TTTTrrrraaaannnnssssppppaaaarrrreeeennnntttt color space behaves uniquely in that it
  110.            preserves the matte channel of the image    if it exists.
  111.  
  112.            The ----ccccoooolllloooorrrrssss or ----mmmmoooonnnnoooocccchhhhrrrroooommmmeeee option is required for this
  113.            option to take effect.
  114.  
  115.       ----ccccoooommmmmmmmeeeennnntttt _s_t_r_i_n_g
  116.            annotate    an image with a    comment.
  117.  
  118.            By default, each    image is commented with    its file name.
  119.            Use this    option to assign a specific comment to the
  120.            image.  Optionally you can include the image filename,
  121.            type, width, height, or scene number by embedding
  122.            special format characters.  Embed %%%%ffff for    filename, %%%%dddd
  123.            for directory, %%%%eeee for filename extention, %%%%tttt for    top of
  124.            filename, %%%%mmmm for    magick,    %%%%wwww for width, %%%%hhhh for height,
  125.            %%%%pppp for page number, %%%%ssss for scene    number,    %%%%bbbb for file
  126.  
  127.  
  128.  
  129.      Page 2                        (printed 12/17/98)
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.      mmmmooooggggrrrriiiiffffyyyy((((1111))))         IIIImmmmaaaaggggeeeeMMMMaaaaggggiiiicccckkkk ((((1111    MMMMaaaayyyy 1111999999994444))))        mmmmooooggggrrrriiiiffffyyyy((((1111))))
  137.  
  138.  
  139.  
  140.            size, or    \\\\nnnn for newline.     For example,
  141.  
  142.             -comment "%m:%f %wx%h"
  143.  
  144.            produces    an image comment of MMMMIIIIFFFFFFFF::::bbbbiiiirrrrdddd....mmmmiiiiffffffff 555511112222xxxx444488880000 for
  145.            an image    titled bbbbiiiirrrrdddd....mmmmiiiiffffffff and whose width is 512    and
  146.            height is 480.
  147.  
  148.            If the first character of _s_t_r_i_n_g    is @@@@, the image
  149.            comment is read from a file titled by the remaining
  150.            characters in the string.
  151.  
  152.       ----ccccoooommmmpppprrrreeeessssssss _t_y_p_e
  153.            the type    of image compression: _N_o_n_e, _J_P_E_G, _L_Z_W,
  154.            _R_u_n_l_e_n_g_t_h_E_n_c_o_d_e_d, or _Z_i_p.
  155.  
  156.            Specify ++++ccccoooommmmpppprrrreeeessssssss to store the binary image in an
  157.            uncompressed format.  The default is the    compression
  158.            type of the specified image file.
  159.  
  160.       ----ccccoooonnnnttttrrrraaaasssstttt
  161.            enhance or reduce the image contrast.
  162.  
  163.            This option enhances the    intensity differences between
  164.            the lighter and darker elements of the image.  Use
  165.            ----ccccoooonnnnttttrrrraaaasssstttt to enhance the    image or ++++ccccoooonnnnttttrrrraaaasssstttt to reduce
  166.            the image contrast.
  167.  
  168.       ----ccccrrrroooopppp    <_w_i_d_t_h>{%}_x<_h_e_i_g_h_t>{%}{+-}<_x _o_f_f_s_e_t>{+-}<_y _o_f_f_s_e_t>
  169.            preferred size and location of the cropped image.  See
  170.            XXXX((((1111)))) for    details    about the geometry specification.
  171.  
  172.            To specify a percentage width or    height instead,    append
  173.            %%%%.  For example to crop the image by ten    percent    on all
  174.            sides of    the image, use ----ccccrrrroooopppp 11110000%%%%.
  175.  
  176.            Use cropping to apply image processing options, or
  177.            transmogrify, only a particular area of an image.
  178.  
  179.            Omit the    x and y    offset to generate one or more
  180.            subimages of a uniform size.
  181.  
  182.            Use cropping to crop a particular area of an image.
  183.            Use ----ccccrrrroooopppp 0000xxxx0000 to    trim edges that    are the    background
  184.            color.  Add a x and y offset to leave a portion of the
  185.            trimmed edges with the image.
  186.  
  187.       ----ccccyyyycccclllleeee _a_m_o_u_n_t
  188.            displace    image colormap by amount.
  189.  
  190.            _A_m_o_u_n_t defines the number of positions each colormap
  191.            entry is    shifted.
  192.  
  193.  
  194.  
  195.      Page 3                        (printed 12/17/98)
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.      mmmmooooggggrrrriiiiffffyyyy((((1111))))         IIIImmmmaaaaggggeeeeMMMMaaaaggggiiiicccckkkk ((((1111    MMMMaaaayyyy 1111999999994444))))        mmmmooooggggrrrriiiiffffyyyy((((1111))))
  203.  
  204.  
  205.  
  206.       ----ddddeeeellllaaaayyyy <_1/_1_0_0_t_h_s _o_f _a    _s_e_c_o_n_d>
  207.            display the next    image after pausing.
  208.  
  209.            This option is useful for regulating the    animation of a
  210.            sequence    of GIF images within Netscape.    _1/_1_0_0_t_h_s _o_f _a
  211.            _s_e_c_o_n_d must expire before the redisplay of the image
  212.            sequence.  The default is no delay between each showing
  213.            of the image sequence.  The maximum delay is 65535.
  214.  
  215.       ----ddddeeeennnnssssiiiittttyyyy <_w_i_d_t_h>_x<_h_e_i_g_h_t>
  216.            vertical    and horizontal resolution in pixels of the
  217.            image.
  218.  
  219.            This option specifies an    image density when decoding a
  220.            Postscript or Portable Document page.  The default is
  221.            72 pixels per inch in the horizontal and    vertical
  222.            direction.  This    option is used in concert with ----ppppaaaaggggeeee.
  223.  
  224.       ----ddddeeeessssppppeeeecccckkkklllleeee
  225.            reduce the speckles within an image.
  226.  
  227.       ----ddddiiiissssppppllllaaaayyyy _h_o_s_t:_d_i_s_p_l_a_y[._s_c_r_e_e_n]
  228.            specifies the X server to contact; see XXXX((((1111)))).
  229.  
  230.       ----ddddiiiissssppppoooosssseeee _m_e_t_h_o_d
  231.            GIF disposal method.
  232.  
  233.            Here are    the valid methods:
  234.  
  235.             0      No disposal specified.
  236.             1      Do not dispose.
  237.             2      Restore to background    color.
  238.             3      Restore to previous.
  239.  
  240.       ----ddddiiiitttthhhheeeerrrr
  241.            apply Floyd/Steinberg error diffusion to    the image.
  242.  
  243.            The basic strategy of dithering is to trade intensity
  244.            resolution for spatial resolution by averaging the
  245.            intensities of several neighboring pixels.  Images
  246.            which suffer from severe    contouring when    reducing
  247.            colors can be improved with this    option.
  248.  
  249.            The ----ccccoooolllloooorrrrssss or ----mmmmoooonnnnoooocccchhhhrrrroooommmmeeee option is required for this
  250.            option to take effect.
  251.  
  252.            Use ++++ddddiiiitttthhhheeeerrrr to render Postscript    without    text or
  253.            graphic aliasing.
  254.  
  255.       ----ddddrrrraaaawwww    _s_t_r_i_n_g
  256.            annotate    an image with one or more graphic primitives.
  257.  
  258.  
  259.  
  260.  
  261.      Page 4                        (printed 12/17/98)
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.      mmmmooooggggrrrriiiiffffyyyy((((1111))))         IIIImmmmaaaaggggeeeeMMMMaaaaggggiiiicccckkkk ((((1111    MMMMaaaayyyy 1111999999994444))))        mmmmooooggggrrrriiiiffffyyyy((((1111))))
  269.  
  270.  
  271.  
  272.            Use this    option to annotate an image with one or    more
  273.            graphic primitives.  The    primitives include
  274.  
  275.             point
  276.             line
  277.             rectangle
  278.             fillRectangle
  279.             circle
  280.             fillCircle
  281.             polygon
  282.             fillPolygon
  283.             color
  284.             matte
  285.             text
  286.             image
  287.  
  288.            PPPPooooiiiinnnntttt, lllliiiinnnneeee, ccccoooolllloooorrrr, mmmmaaaatttttttteeee, tttteeeexxxxtttt,    and iiiimmmmaaaaggggeeee each require
  289.            a single    coordinate.  LLLLiiiinnnneeee requires a start and end
  290.            coordinate, while rrrreeeeccccttttaaaannnngggglllleeee expects an upper left and
  291.            lower right coordinate.    CCCCiiiirrrrcccclllleeee has a center coordinate
  292.            and a coordinate    on the outer edge.  Finally, ppppoooollllyyyyggggoooonnnn
  293.            requires    three or more coordinates defining its
  294.            boundaries.  Coordinates    are integers separated by an
  295.            optional    comma.    For example, to    define a circle
  296.            centered    at 100,100 that    extends    to 150,150 use:
  297.  
  298.             -draw 'circle 100,100 150,150'
  299.  
  300.            Use ccccoooolllloooorrrr to change the color of    a pixel.  Follow the
  301.            pixel coordinate    with a method:
  302.  
  303.             point
  304.             replace
  305.             floodfill
  306.             reset
  307.  
  308.            Consider    the target pixel as that specified by your
  309.            coordinate.  The    ppppooooiiiinnnntttt method recolors the target
  310.            pixel.  The rrrreeeeppppllllaaaacccceeee method recolors any pixel that
  311.            matches the color of the    target pixel.  FFFFllllooooooooddddffffiiiillllllll
  312.            recolors    any pixel that matches the color of the    target
  313.            pixel and is a neighbor.     Finally, rrrreeeesssseeeetttt    recolors all
  314.            pixels.
  315.  
  316.            Use mmmmaaaatttttttteeee to the    change the pixel matte value to
  317.            transparent.  Follow the    pixel coordinate with a    method
  318.            (see the    ccccoooolllloooorrrr primitive    for a description of methods).
  319.            The ppppooooiiiinnnntttt method    changes    the matte value    of the target
  320.            pixel.  The rrrreeeeppppllllaaaacccceeee method changes the matte value of
  321.            any pixel that matches the color    of the target pixel.
  322.            FFFFllllooooooooddddffffiiiillllllll changes the matte value of any    pixel that
  323.            matches the color of the    target pixel and is a
  324.  
  325.  
  326.  
  327.      Page 5                        (printed 12/17/98)
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.      mmmmooooggggrrrriiiiffffyyyy((((1111))))         IIIImmmmaaaaggggeeeeMMMMaaaaggggiiiicccckkkk ((((1111    MMMMaaaayyyy 1111999999994444))))        mmmmooooggggrrrriiiiffffyyyy((((1111))))
  335.  
  336.  
  337.  
  338.            neighbor. Finally rrrreeeesssseeeetttt changes the matte value of all
  339.            pixels.
  340.  
  341.            Use tttteeeexxxxtttt    to annotate an image with text.     Follow    the
  342.            text coordinates    with a string.    If the string has
  343.            embedded    spaces,    enclose    it in double quotes.
  344.            Optionally you can include the image filename, type,
  345.            width, height, or scene number by embedding special
  346.            format characters.  Embed %%%%ffff for    filename, %%%%dddd for
  347.            directory, %%%%eeee for filename extention, %%%%tttt    for top    of
  348.            filename, %%%%mmmm for    magick,    %%%%wwww for width, %%%%hhhh for height,
  349.            %%%%pppp for page number, %%%%ssss for scene    number,    or \\\\nnnn for
  350.            newline.     For example,
  351.  
  352.             -draw 'text    100,100    "%m:%f %wx%h"'
  353.  
  354.            annotates the image with    MMMMIIIIFFFFFFFF::::bbbbiiiirrrrdddd....mmmmiiiiffffffff 555511112222xxxx444488880000 for an
  355.            image titled bbbbiiiirrrrdddd....mmmmiiiiffffffff and whose    width is 512 and
  356.            height is 480.  To generate a Unicode character
  357.            (TrueType fonts only), embed the    code as    an escaped hex
  358.            string (e.g. \0x30a3).
  359.  
  360.            Use iiiimmmmaaaaggggeeee to composite an image with another image.
  361.            Follow the image    coordinates with the filename of an
  362.            image.
  363.  
  364.            If the first character of _s_t_r_i_n_g    is @@@@, the text is read
  365.            from a file titled by the remaining characters in the
  366.            string.
  367.  
  368.            You can set the primitive color,    font color, and    font
  369.            bounding    box color with ----ppppeeeennnn, ----ffffoooonnnntttt, and    ----bbbbooooxxxx
  370.            respectively.  Options are processed in command line
  371.            order so    be sure    to use ----ppppeeeennnn _b_e_f_o_r_e the ----ddddrrrraaaawwww option.
  372.  
  373.       ----eeeeddddggggeeee    _f_a_c_t_o_r
  374.            detect edges with an image.  Specify _f_a_c_t_o_r as the
  375.            percent enhancement (0.0    - 99.9%).
  376.  
  377.       ----eeeemmmmbbbboooossssssss
  378.            emboss the image.
  379.  
  380.       ----eeeennnnhhhhaaaannnncccceeee
  381.            apply a digital filter to enhance a noisy image.
  382.  
  383.       ----eeeeqqqquuuuaaaalllliiiizzzzeeee
  384.            perform histogram equalization to the image.
  385.  
  386.       ----ffffiiiilllltttteeeerrrr _v_a_l_u_e
  387.            use this    type of    filter when resizing an    image.
  388.  
  389.            Use this    option to affect the resizing operation    of an
  390.  
  391.  
  392.  
  393.      Page 6                        (printed 12/17/98)
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.      mmmmooooggggrrrriiiiffffyyyy((((1111))))         IIIImmmmaaaaggggeeeeMMMMaaaaggggiiiicccckkkk ((((1111    MMMMaaaayyyy 1111999999994444))))        mmmmooooggggrrrriiiiffffyyyy((((1111))))
  401.  
  402.  
  403.  
  404.            image (see ----ggggeeeeoooommmmeeeettttrrrryyyy).  Choose from these filters:
  405.  
  406.             Point
  407.             Box
  408.             Triangle
  409.             Hermite
  410.             Hanning
  411.             Hamming
  412.             Blackman
  413.             Gaussian
  414.             Quadratic
  415.             Cubic
  416.             Catrom
  417.             Mitchell
  418.             Lanczos
  419.             Bessel
  420.             Sinc
  421.  
  422.            The default filter is MMMMiiiittttcccchhhheeeellllllll.
  423.  
  424.  
  425.       ----fffflllliiiipppp
  426.            create a    "mirror    image" by reflecting the image
  427.            scanlines in the    vertical direction.
  428.  
  429.       ----fffflllloooopppp
  430.            create a    "mirror    image" by reflecting the image
  431.            scanlines in the    horizontal direction.
  432.  
  433.       ----ffffoooorrrrmmmmaaaatttt _t_y_p_e
  434.            the image format    type.
  435.  
  436.            This option will    convert    any image to the image format
  437.            you specify.  See ccccoooonnnnvvvveeeerrrrtttt((((1111)))) for    a list of image    format
  438.            types supported by IIIImmmmaaaaggggeeeeMMMMaaaaggggiiiicccckkkk.
  439.  
  440.            By default the file is written to its original name.
  441.            However,    if the filename    extension matches a supported
  442.            format, the extension is    replaced with the image    format
  443.            type specified with ----ffffoooorrrrmmmmaaaatttt.  For example, if you
  444.            specify _t_i_f_f as the format type and the input image
  445.            filename    is _i_m_a_g_e._g_i_f, the output image filename
  446.            becomes _i_m_a_g_e._t_i_f_f.
  447.  
  448.       ----ffffoooonnnntttt    _n_a_m_e
  449.            use this    font when annotating the image with text.
  450.  
  451.            If the font is a    fully qualified    X server font name,
  452.            the font    is obtained from an X server (e.g. -*-
  453.            helvetica-medium-r-*-*-12-*-*-*-*-*-iso8859-*).    To use
  454.            a TrueType font,    precede    the TrueType filename with a @@@@
  455.            (e.g.  @times.ttf).  Otherwise, specify a Postscript
  456.  
  457.  
  458.  
  459.      Page 7                        (printed 12/17/98)
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.      mmmmooooggggrrrriiiiffffyyyy((((1111))))         IIIImmmmaaaaggggeeeeMMMMaaaaggggiiiicccckkkk ((((1111    MMMMaaaayyyy 1111999999994444))))        mmmmooooggggrrrriiiiffffyyyy((((1111))))
  467.  
  468.  
  469.  
  470.            font (e.g. helvetica).
  471.  
  472.       ----
  473.            ffffrrrraaaammmmeeee <_w_i_d_t_h>_x<_h_e_i_g_h_t>+<_o_u_t_e_r _b_e_v_e_l _w_i_d_t_h>+<_i_n_n_e_r _b_e_v_e_l _w_i_d_t_h>
  474.            surround    the image with an ornamental border.  See XXXX((((1111))))
  475.            for details about the geometry specification.
  476.  
  477.            The color of the    border is specified with the
  478.            ----mmmmaaaatttttttteeeeccccoooolllloooorrrr command line    option.
  479.  
  480.       ----ggggaaaammmmmmmmaaaa _v_a_l_u_e
  481.            level of    gamma correction.
  482.  
  483.            The same    color image displayed on two different
  484.            workstations may    look different due to differences in
  485.            the display monitor.  Use gamma correction to adjust
  486.            for this    color difference.  Reasonable values extend
  487.            from 0.8    to 2.3.
  488.  
  489.            You can apply separate gamma values to the red, green,
  490.            and blue    channels of the    image with a gamma value list
  491.            delineated with slashes (i.e. 1.7/2.3/1.2).
  492.  
  493.            Use ++++ggggaaaammmmmmmmaaaa to set the image gamma level without
  494.            actually    adjusting the image pixels.  This option is
  495.            useful if the image is of a known gamma but not set as
  496.            an image    attribute (e.g.    PNG images).
  497.  
  498.      _o_f_f_s_e_t>{!}{<}{>}
  499.       ----ggggeeeeoooommmmeeeettttrrrryyyy <_w_i_d_t_h>{%}_x<_h_e_i_g_h_t>{%}{+-}<_x _o_f_f_s_e_t>{+-}<_y
  500.            preferred width and height of the image.     See XXXX((((1111)))) for
  501.            details about the geometry specification.
  502.  
  503.            By default, the width and height    are maximum values.
  504.            That is,    the image is expanded or contracted to fit the
  505.            width and height    value while maintaining    the aspect
  506.            ratio of    the image.  Append an exclamation point    to the
  507.            geometry    to force the image size    to exactly the size
  508.            you specify.  For example, if you specify 666644440000xxxx444488880000!!!! the
  509.            image width is set to 640 pixels    and height to 480.  If
  510.            only one    factor is specified, both the width and    height
  511.            assume the value.
  512.  
  513.            To specify a percentage width or    height instead,    append
  514.            %%%%.  The image size is multiplied    by the width and
  515.            height percentages to obtain the    final image
  516.            dimensions.  To increase    the size of an image, use a
  517.            value greater than 100 (e.g. 125%).  To decrease    an
  518.            image's size, use a percentage less than    100.
  519.  
  520.            Use >>>> to    change the dimensions of the image _o_n_l_y    if its
  521.            size exceeds the    geometry specification.     <<<< resizes the
  522.  
  523.  
  524.  
  525.      Page 8                        (printed 12/17/98)
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.      mmmmooooggggrrrriiiiffffyyyy((((1111))))         IIIImmmmaaaaggggeeeeMMMMaaaaggggiiiicccckkkk ((((1111    MMMMaaaayyyy 1111999999994444))))        mmmmooooggggrrrriiiiffffyyyy((((1111))))
  533.  
  534.  
  535.  
  536.            image _o_n_l_y if its dimensions is less than the geometry
  537.            specification.  For example, if you specify 666644440000xxxx444488880000>>>>
  538.            and the image size is 512x512, the image    size does not
  539.            change.    However, if the    image is 1024x1024, it is
  540.            resized to 640x480.
  541.  
  542.       ----iiiimmmmppppllllooooddddeeee _f_a_c_t_o_r
  543.            implode image pixels about the center. Specify _f_a_c_t_o_r
  544.            as the percent implosion    (0 - 99.9 %) or    explosion (-
  545.            99.9 - 0)
  546.  
  547.       ----iiiinnnntttteeeerrrrllllaaaacccceeee _t_y_p_e
  548.            the type    of interlacing scheme: NNNNoooonnnneeee, LLLLiiiinnnneeee, PPPPllllaaaannnneeee, or
  549.            PPPPaaaarrrrttttiiiittttiiiioooonnnn.  The default is NNNNoooonnnneeee.
  550.  
  551.            This option is used to specify the type of interlacing
  552.            scheme for raw image formats such as RRRRGGGGBBBB    or YYYYUUUUVVVV.     NNNNoooo
  553.            means do    not interlace (RGBRGBRGBRGBRGBRGB...), LLLLiiiinnnneeee
  554.            uses scanline interlacing
  555.            (RRR...GGG...BBB...RRR...GGG...BBB...), and PPPPllllaaaannnneeee uses
  556.            plane interlacing (RRRRRR...GGGGGG...BBBBBB...).
  557.            PPPPaaaarrrrttttiiiittttiiiioooonnnn is like plane except the different planes are
  558.            saved to    individual files (e.g.    image.R, image.G, and
  559.            image.B).
  560.  
  561.            Use LLLLiiiinnnneeee, or PPPPllllaaaannnneeee to create an interlaced GIF or
  562.            progressive JPEG    image.    ----llllaaaabbbbeeeellll _n_a_m_e assign a label to
  563.            an image.
  564.  
  565.            Use this    option to assign a specific label to the
  566.            image.  Optionally you can include the image filename,
  567.            type, width, height, or scene number in the label by
  568.            embedding special format    characters.   Embed %%%%ffff for
  569.            filename, %%%%dddd for    directory, %%%%eeee for filename extention,
  570.            %%%%tttt for top of filename, %%%%mmmm for magick, %%%%wwww for width, %%%%hhhh
  571.            for height, %%%%pppp for page number, or %%%%ssss for scene number,
  572.            or \\\\nnnn for newline.  For example,
  573.  
  574.             -label "%m:%f %wx%h"
  575.  
  576.            produces    an image label of MMMMIIIIFFFFFFFF::::bbbbiiiirrrrdddd....mmmmiiiiffffffff 555511112222xxxx444488880000 for
  577.            an image    titled bbbbiiiirrrrdddd....mmmmiiiiffffffff and whose width is 512    and
  578.            height is 480.
  579.  
  580.            If the first character of _s_t_r_i_n_g    is @@@@, the image    label
  581.            is read from a file titled by the remaining characters
  582.            in the string.
  583.  
  584.            When converting to Postscript, use this option to
  585.            specify a header    string to print    above the image.
  586.            Specify the label font with ----ffffoooonnnntttt.
  587.  
  588.  
  589.  
  590.  
  591.      Page 9                        (printed 12/17/98)
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.      mmmmooooggggrrrriiiiffffyyyy((((1111))))         IIIImmmmaaaaggggeeeeMMMMaaaaggggiiiicccckkkk ((((1111    MMMMaaaayyyy 1111999999994444))))        mmmmooooggggrrrriiiiffffyyyy((((1111))))
  599.  
  600.  
  601.  
  602.       ----llllaaaayyyyeeeerrrr _t_y_p_e
  603.            the type    of layer: RRRReeeedddd, GGGGrrrreeeeeeeennnn, BBBBlllluuuueeee, or MMMMaaaatttttttteeee.
  604.  
  605.            Use this    option to extract a particular _l_a_y_e_r from the
  606.            image.  MMMMaaaatttttttteeee, for example, is useful for extracting
  607.            the opacity values from an image.
  608.  
  609.       ----lllliiiinnnneeeewwwwiiiiddddtttthhhh _v_a_l_u_e
  610.            set the width of    a line.     See ----ddddrrrraaaawwww for further
  611.            details.
  612.  
  613.       ----lllloooooooopppp    _i_t_e_r_a_t_i_o_n_s
  614.            add Netscape loop extension to your GIF animation.
  615.  
  616.            A value other than zero forces the animation to repeat
  617.            itself up to _i_t_e_r_a_t_i_o_n_s times.
  618.  
  619.       ----mmmmaaaapppp _f_i_l_e_n_a_m_e
  620.            choose a    particular set of colors from this image.
  621.  
  622.            By default, color reduction chooses an optimal set of
  623.            colors that best    represent the original image.
  624.            Alternatively, you can choose a particular set of
  625.            colors from an image file with this option.    Use ++++mmmmaaaapppp
  626.            to reduce all images in an image    sequence to a single
  627.            optimal set of colors that best represent all the
  628.            images.
  629.  
  630.       ----mmmmaaaatttttttteeee
  631.            store matte channel if the image    has one    otherwise
  632.            create an opaque    one.
  633.  
  634.       ----mmmmoooodddduuuullllaaaatttteeee _v_a_l_u_e
  635.            vary the    brightness, saturation,    and hue    of an image.
  636.  
  637.            Specify the percent change in brightness, the color
  638.            saturation, and the hue separated by commas.  For
  639.            example,    to increase the    color brightness by 20%    and
  640.            decrease    the color saturation by    10% and    leave the hue
  641.            unchanged, use: ----mmmmoooodddduuuullllaaaatttteeee 22220000////----11110000.
  642.  
  643.       ----mmmmoooonnnnoooocccchhhhrrrroooommmmeeee
  644.            transform the image to black and    white.
  645.  
  646.       ----nnnneeeeggggaaaatttteeee
  647.            apply color inversion to    image.
  648.  
  649.            The red,    green, and blue    intensities of an image    are
  650.            negated.       Use ++++nnnneeeeggggaaaatttteeee to only negate the grayscale
  651.            pixels of the image.
  652.  
  653.       ----nnnnooooiiiisssseeee
  654.  
  655.  
  656.  
  657.      Page 10                        (printed 12/17/98)
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.      mmmmooooggggrrrriiiiffffyyyy((((1111))))         IIIImmmmaaaaggggeeeeMMMMaaaaggggiiiicccckkkk ((((1111    MMMMaaaayyyy 1111999999994444))))        mmmmooooggggrrrriiiiffffyyyy((((1111))))
  665.  
  666.  
  667.  
  668.            add or reduce noise in an image.
  669.  
  670.            The principal function of noise peak elimination    filter
  671.            is to smooth the    objects    within an image    without    losing
  672.            edge information    and without creating undesired
  673.            structures.  The    central    idea of    the algorithm is to
  674.            replace a pixel with its    next neighbor in value within
  675.            a 3 x 3 window, if this pixel has been found to be
  676.            noise.  A pixel is defined as noise if and only if this
  677.            pixel is    a maximum or minimum within the    3 x 3 window.
  678.            PP Use ++++nnnnooooiiiisssseeee followed by a noise type to add noise to
  679.            an image.  Choose from these noise types:
  680.  
  681.            Uniform
  682.            Gaussian
  683.            Multiplicative
  684.            Impulse
  685.            Laplacian
  686.            Poisson
  687.  
  688.       ----nnnnoooorrrrmmmmaaaalllliiiizzzzeeee
  689.            transform image to span the full    range of color values.
  690.  
  691.            This is a contrast enhancement technique.
  692.  
  693.       ----ooooppppaaaaqqqquuuueeee _c_o_l_o_r
  694.            change this color to the    pen color within the image.
  695.            See ----ppppeeeennnn    for more details.
  696.  
  697.       ----ppppaaaaggggeeee    <_w_i_d_t_h>{%}_x<_h_e_i_g_h_t>{%}{+-}<_x _o_f_f_s_e_t>{+-
  698.            }<_y _o_f_f_s_e_t>{!}{<}{>}
  699.            preferred size and location of an image canvas.
  700.  
  701.            Use this    option to specify the dimensions of the
  702.            Postscript page in dots per inch    or a TEXT page in
  703.            pixels.    The choices for    a Postscript page are:
  704.  
  705.            Letter      612x 792
  706.            Tabloid     792x1224
  707.            Ledger     1224x 792
  708.            Legal       612x1008
  709.            Statement   396x 612
  710.            Executive   540x 720
  711.            A3           842x1190
  712.            A4           595x 842
  713.            A5           420x 595
  714.            B4           729x1032
  715.            B5           516x 729
  716.            Folio       612x 936
  717.            Quarto      610x 780
  718.            10x14       720x1008
  719.  
  720.  
  721.  
  722.  
  723.      Page 11                        (printed 12/17/98)
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.      mmmmooooggggrrrriiiiffffyyyy((((1111))))         IIIImmmmaaaaggggeeeeMMMMaaaaggggiiiicccckkkk ((((1111    MMMMaaaayyyy 1111999999994444))))        mmmmooooggggrrrriiiiffffyyyy((((1111))))
  731.  
  732.  
  733.  
  734.            For convenience you can specify the page    size by    media
  735.            (e.g.  A4, Ledger, etc.).  Otherwise, ----ppppaaaaggggeeee behaves
  736.            much like ----ggggeeeeoooommmmeeeettttrrrryyyy (e.g. -page letter+43+43>).
  737.  
  738.            To position a GIF image,    use -page {+-}<_x _o_f_f_s_e_t>{+-}<_y
  739.            _o_f_f_s_e_t> (e.g. -page +100+200).
  740.  
  741.            For a Postscript    page, the image    is sized as in
  742.            ----ggggeeeeoooommmmeeeettttrrrryyyy and positioned    relative to the    lower left
  743.            hand corner of the page by {+-}<_x _o_f_f_s_e_t>{+-}<_y
  744.            _o_f_f_s_e_t>.     Use -page 612x792>, for example, to center
  745.            the image within    the page.  If the image    size exceeds
  746.            the Postscript page, it is reduced to fit the page.
  747.  
  748.            The default page    dimensions for a TEXT image is
  749.            612x792.
  750.  
  751.            This option is used in concert with ----ddddeeeennnnssssiiiittttyyyy.
  752.  
  753.       ----ppppaaaaiiiinnnntttt _r_a_d_i_u_s
  754.            simulate    an oil painting.
  755.  
  756.            Each pixel is replaced by the most frequent color in a
  757.            circular    neighborhood whose width is specified with
  758.            _r_a_d_i_u_s.
  759.  
  760.       ----ppppeeeennnn _c_o_l_o_r
  761.            set the color of    the font or opaque color.  See ----ddddrrrraaaawwww
  762.            for further details.
  763.  
  764.            See XXXX((((1111))))    for details about the color specification.
  765.  
  766.       ----ppppooooiiiinnnnttttssssiiiizzzzeeee _v_a_l_u_e
  767.            pointsize of the    Postscript font.
  768.  
  769.       ----qqqquuuuaaaalllliiiittttyyyy _v_a_l_u_e
  770.            JPEG/MIFF/PNG compression level.
  771.  
  772.            For the JPEG image format, quality is 0 (worst) to 100
  773.            (best).    The default quality is 75.
  774.  
  775.            Quality for the MIFF and    PNG image format sets the
  776.            amount of image compression (quality / 10) and filter-
  777.            type (quality % 10).  Compression quality values    range
  778.            from 0 (worst) to 100 (best).  If filter-type is    4 or
  779.            less, the specified filter-type is used for all
  780.            scanlines:
  781.  
  782.            0: none
  783.            1: sub
  784.            2: up
  785.            3: average
  786.  
  787.  
  788.  
  789.      Page 12                        (printed 12/17/98)
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.      mmmmooooggggrrrriiiiffffyyyy((((1111))))         IIIImmmmaaaaggggeeeeMMMMaaaaggggiiiicccckkkk ((((1111    MMMMaaaayyyy 1111999999994444))))        mmmmooooggggrrrriiiiffffyyyy((((1111))))
  797.  
  798.  
  799.  
  800.            4: Paeth
  801.  
  802.            If filter-type is 5, adaptive filtering is used when
  803.            quality is greater than 50 and the image    does not have
  804.            a color map, otherwise no filtering is used.
  805.  
  806.            If filter-type is 6 or more, adaptive filtering with
  807.            _m_i_n_i_m_u_m-_s_u_m-_o_f-_a_b_s_o_l_u_t_e-_v_a_l_u_e_s is used.
  808.  
  809.            The default is quality is 75.  Which means nearly the
  810.            best compression    with adaptive filtering.
  811.  
  812.            For further information,    see the    PNG specification (RFC
  813.            2083), <http://www.w3.org/pub/WWW/TR>.
  814.  
  815.       ----rrrraaaaiiiisssseeee <_w_i_d_t_h>_x<_h_e_i_g_h_t>
  816.            lighten or darken image edges to    create a 3-D effect.
  817.            See XXXX((((1111))))    for details about the geometry specification.
  818.  
  819.            Use ----rrrraaaaiiiisssseeee to create a raised effect, otherwise use
  820.            ++++rrrraaaaiiiisssseeee.
  821.  
  822.       ----rrrreeeeggggiiiioooonnnn <_w_i_d_t_h>_x<_h_e_i_g_h_t>{+-}<_x _o_f_f_s_e_t>{+-}<_y _o_f_f_s_e_t>
  823.            apply options to    a portion of the image.
  824.  
  825.            By default, any command line options are    applied    to the
  826.            entire image.  Use ----rrrreeeeggggiiiioooonnnn to restrict operations to a
  827.            particular area of the image.
  828.  
  829.       ----rrrroooollllllll    {+-}<_x _o_f_f_s_e_t>{+-}<_y _o_f_f_s_e_t>
  830.            roll an image vertically    or horizontally.  See XXXX((((1111)))) for
  831.            details about the geometry specification.
  832.  
  833.            A negative _x _o_f_f_s_e_t rolls the image left-to-right.  A
  834.            negative    _y _o_f_f_s_e_t rolls the image top-to-bottom.
  835.  
  836.       ----rrrroooottttaaaatttteeee _d_e_g_r_e_e_s{<}{>}
  837.            apply Paeth image rotation to the image.
  838.  
  839.            Use >>>> to    rotate the image _o_n_l_y if its width exceeds the
  840.            height.    <<<< rotates the image _o_n_l_y if its    width is less
  841.            than the    height.     For example, if you specify ----99990000>>>> and
  842.            the image size is 480x640, the image is not rotated by
  843.            the specified angle.  However, if the image is 640x480,
  844.            it is rotated by    -90 degrees.
  845.  
  846.            Empty triangles left over from rotating the image are
  847.            filled with the color defined as    bbbboooorrrrddddeeeerrrrccccoooolllloooorrrr (class
  848.            bbbboooorrrrddddeeeerrrrCCCCoooolllloooorrrr).
  849.  
  850.       ----ssssaaaammmmpppplllleeee _g_e_o_m_e_t_r_y
  851.            scale image with    pixel sampling.
  852.  
  853.  
  854.  
  855.      Page 13                        (printed 12/17/98)
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862.      mmmmooooggggrrrriiiiffffyyyy((((1111))))         IIIImmmmaaaaggggeeeeMMMMaaaaggggiiiicccckkkk ((((1111    MMMMaaaayyyy 1111999999994444))))        mmmmooooggggrrrriiiiffffyyyy((((1111))))
  863.  
  864.  
  865.  
  866.       ----sssscccceeeennnneeee _v_a_l_u_e
  867.            image scene number.
  868.  
  869.       ----sssseeeeeeeedddd    _v_a_l_u_e
  870.            pseudo-random number generator seed value.
  871.  
  872.       ----sssseeeeggggmmmmeeeennnntttt <_c_l_u_s_t_e_r _t_h_r_e_s_h_o_l_d>_x<_s_m_o_o_t_h_i_n_g _t_h_r_e_s_h_o_l_d>
  873.            segment an image    by analyzing the histograms of the
  874.            color components    and identifying    units that are
  875.            homogeneous with    the fuzzy c-means technique.
  876.  
  877.            Specify _c_l_u_s_t_e_r _t_h_r_e_s_h_o_l_d as the    number of pixels in
  878.            each cluster must exceed    the the    cluster    threshold to
  879.            be considered valid.  _S_m_o_o_t_h_i_n_g _t_h_r_e_s_h_o_l_d eliminates
  880.            noise in    the second derivative of the histogram.     As
  881.            the value is increased, you can expect a    smoother
  882.            second derivative.  The default is 1.5.    See IIIIMMMMAAAAGGGGEEEE
  883.            SSSSEEEEGGGGMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN for    details.
  884.  
  885.       ----sssshhhhaaaaddddeeee <_a_z_i_m_u_t_h>_x<_e_l_e_v_a_t_i_o_n>
  886.            shade the image using a distant light source.
  887.  
  888.            Specify _a_z_i_m_u_t_h and _e_l_e_v_a_t_i_o_n as    the position of    the
  889.            light source.  Use ++++sssshhhhaaaaddddeeee to return the shading results
  890.            as a grayscale image.
  891.  
  892.       ----sssshhhhaaaarrrrppppeeeennnn _f_a_c_t_o_r
  893.            sharpen an image.  Specify _f_a_c_t_o_r as the    percent
  894.            enhancement (0.0    - 99.9%).
  895.  
  896.       ----sssshhhheeeeaaaarrrr <_x _d_e_g_r_e_e_s>_x<_y    _d_e_g_r_e_e_s>
  897.            shear the image along the X or Y    axis by    a positive or
  898.            negative    shear angle.
  899.  
  900.            Shearing    slides one edge    of an image along the X    or Y
  901.            axis, creating a    parallelogram.    An X direction shear
  902.            slides an edge along the    X axis,    while a    Y direction
  903.            shear slides an edge along the Y    axis.  The amount of
  904.            the shear is controlled by a shear angle.  For X
  905.            direction shears, _x _d_e_g_r_e_e_s> is measured    relative to
  906.            the Y axis, and similarly, for Y    direction shears _y
  907.            _d_e_g_r_e_e_s is measured relative to the X axis.
  908.  
  909.            Empty triangles left over from shearing the image are
  910.            filled with the color defined as    bbbboooorrrrddddeeeerrrrccccoooolllloooorrrr (class
  911.            bbbboooorrrrddddeeeerrrrCCCCoooolllloooorrrr).  See XXXX((((1111)))) for details.
  912.  
  913.       ----ssssiiiizzzzeeee    <_w_i_d_t_h>{%}_x<_h_e_i_g_h_t>{%}+<_o_f_f_s_e_t>
  914.            width and height    of the image.
  915.  
  916.            Use this    option to specify the width and    height of raw
  917.            images whose dimensions are unknown such    as GGGGRRRRAAAAYYYY, RRRRGGGGBBBB,
  918.  
  919.  
  920.  
  921.      Page 14                        (printed 12/17/98)
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928.      mmmmooooggggrrrriiiiffffyyyy((((1111))))         IIIImmmmaaaaggggeeeeMMMMaaaaggggiiiicccckkkk ((((1111    MMMMaaaayyyy 1111999999994444))))        mmmmooooggggrrrriiiiffffyyyy((((1111))))
  929.  
  930.  
  931.  
  932.            or CCCCMMMMYYYYKKKK.     In addition to    width and height, use ----ssssiiiizzzzeeee to
  933.            skip any    header information in the image    or tell    the
  934.            number of colors    in a MMMMAAAAPPPP image file, (e.g. -size
  935.            640x512+256).
  936.  
  937.            For Photo CD images, choose from    these sizes:
  938.  
  939.              192x128
  940.              384x256
  941.              768x512
  942.             1536x1024
  943.             3072x2048
  944.  
  945.            Finally,    use this option    to choose a particular
  946.            resolution layer    of a JBIG or JPEG image    (e.g. -size
  947.            1024x768).
  948.  
  949.       ----ssssoooollllaaaarrrriiiizzzzeeee _t_h_r_e_s_h_o_l_d
  950.            negate all pixels above the threshold level.    Specify
  951.            _f_a_c_t_o_r as the percent threshold of the intensity    (0 -
  952.            99.9%).
  953.  
  954.            This option produces a ssssoooollllaaaarrrriiiizzzzaaaattttiiiioooonnnn effect seen when
  955.            exposing    a photographic film to light during the
  956.            development process.
  957.  
  958.       ----sssspppprrrreeeeaaaadddd _a_m_o_u_n_t
  959.            displace    image pixels by    a random amount.
  960.  
  961.            _A_m_o_u_n_t defines the size of the neighborhood around each
  962.            pixel to    choose a candidate pixel to swap.
  963.  
  964.       ----sssswwwwiiiirrrrllll _d_e_g_r_e_e_s
  965.            swirl image pixels about    the center.
  966.  
  967.            _D_e_g_r_e_e_s defines the tightness of    the swirl.
  968.  
  969.       ----tttteeeexxxxttttuuuurrrreeee _f_i_l_e_n_a_m_e
  970.            name of texture to tile onto the    image background.
  971.  
  972.       ----tttthhhhrrrreeeesssshhhhoooolllldddd _v_a_l_u_e
  973.            threshold the image.
  974.  
  975.            Create a    bi-level image such that any pixel intensity
  976.            that is equal or    exceeds    the threshold is reassigned
  977.            the maximum intensity otherwise the minimum intensity.
  978.  
  979.       ----ttttrrrraaaannnnssssppppaaaarrrreeeennnnccccyyyy    _c_o_l_o_r
  980.            make this color transparent within the image.
  981.  
  982.       ----ttttrrrreeeeeeeeddddeeeepppptttthhhh _v_a_l_u_e
  983.            Normally, this integer value is zero or one.  A zero or
  984.  
  985.  
  986.  
  987.      Page 15                        (printed 12/17/98)
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.      mmmmooooggggrrrriiiiffffyyyy((((1111))))         IIIImmmmaaaaggggeeeeMMMMaaaaggggiiiicccckkkk ((((1111    MMMMaaaayyyy 1111999999994444))))        mmmmooooggggrrrriiiiffffyyyy((((1111))))
  995.  
  996.  
  997.  
  998.            one tells mmmmooooggggrrrriiiiffffyyyy to choose a optimal tree depth    for
  999.            the color reduction algorithm.
  1000.  
  1001.            An optimal depth    generally allows the best
  1002.            representation of the source image with the fastest
  1003.            computational speed and the least amount    of memory.
  1004.            However,    the default depth is inappropriate for some
  1005.            images.    To assure the best representation, try values
  1006.            between 2 and 8 for this    parameter.  Refer to
  1007.            qqqquuuuaaaannnnttttiiiizzzzeeee((((9999)))) for more details.
  1008.  
  1009.            The ----ccccoooolllloooorrrrssss or ----mmmmoooonnnnoooocccchhhhrrrroooommmmeeee option is required for this
  1010.            option to take effect.
  1011.  
  1012.       ----uuuunnnnddddeeeerrrrccccoooolllloooorrrr <_u_n_d_e_r_c_o_l_o_r _f_a_c_t_o_r>_x<_b_l_a_c_k-_g_e_n_e_r_a_t_i_o_n _f_a_c_t_o_r>
  1013.            control undercolor removal and black generation on CMYK
  1014.            images.
  1015.  
  1016.            This option enables you to perform undercolor removal
  1017.            and black generation on CMYK images-- images to be
  1018.            printed on a four-color printing    system.    You can
  1019.            control how much    cyan, magenta, and yellow to remove
  1020.            from your image and how much black to add to it.     The
  1021.            standard    undercolor removal is 1111....0000xxxx1111....0000.    You'll
  1022.            frequently get better results, though, if the
  1023.            percentage of black you add to your image is slightly
  1024.            higher than the percentage of C,    M, and Y you remove
  1025.            from it.     For example you might try 0000....5555xxxx0000....7777.
  1026.  
  1027.       ----vvvveeeerrrrbbbboooosssseeee
  1028.            print detailed information about    the image.
  1029.  
  1030.            This information    is printed: image scene    number;     image
  1031.            name;  image size; the image class (_D_i_r_e_c_t_C_l_a_s_s or
  1032.            _P_s_e_u_d_o_C_l_a_s_s); the total number of unique    colors (if
  1033.            known);    and the    number of seconds to read and
  1034.            transform the image.  Refer to mmmmiiiiffffffff((((5555)))) for a
  1035.            description of the image    class.
  1036.  
  1037.            If ----ccccoooolllloooorrrrssss is also specified, the total unique colors
  1038.            in the image and    color reduction    error values are
  1039.            printed.     Refer to qqqquuuuaaaannnnttttiiiizzzzeeee((((9999)))) for a description    of
  1040.            these values.
  1041.  
  1042.       ----vvvviiiieeeewwww    _s_t_r_i_n_g
  1043.            FlashPix    viewing    parameters.
  1044.  
  1045.       ----wwwwaaaavvvveeee    <_a_m_p_l_i_t_u_d_e>_x<_w_a_v_e_l_e_n_g_t_h>
  1046.            alter an    image along a sine wave.
  1047.  
  1048.            Specify _a_m_p_l_i_t_u_d_e and _w_a_v_e_l_e_n_g_t_h    to effect the
  1049.            characteristics of the wave.
  1050.  
  1051.  
  1052.  
  1053.      Page 16                        (printed 12/17/98)
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060.      mmmmooooggggrrrriiiiffffyyyy((((1111))))         IIIImmmmaaaaggggeeeeMMMMaaaaggggiiiicccckkkk ((((1111    MMMMaaaayyyy 1111999999994444))))        mmmmooooggggrrrriiiiffffyyyy((((1111))))
  1061.  
  1062.  
  1063.  
  1064.       Options are processed    in command line    order.    Any option you
  1065.       specify on the command line remains in effect    until it is
  1066.       explicitly changed by    specifying the option again with a
  1067.       different effect.  For example, to mogrify two images, the
  1068.       first    with 32    colors and the second with only    16 colors,
  1069.       use:
  1070.  
  1071.            mogrify -colors 32 cockatoo.miff    -colors    16 macaw.miff
  1072.  
  1073.       By default, the image    format is determined by    its magic
  1074.       number. To specify a particular image    format,    precede    the
  1075.       filename with    an image format    name and a colon (i.e.
  1076.       ps:image) or specify the image type as the filename suffix
  1077.       (i.e.    image.ps).  See    ccccoooonnnnvvvveeeerrrrtttt((((1111)))) for a list of valid image
  1078.       formats.
  1079.  
  1080.       Specify _f_i_l_e as - for    standard input and output.  If _f_i_l_e
  1081.       has the extension ....ZZZZ or ....ggggzzzz, the file    is uncompressed    with
  1082.       uuuunnnnccccoooommmmpppprrrreeeessssssss or    gggguuuunnnnzzzziiiipppp respectively and    subsequently
  1083.       compressed using with    ccccoooommmmpppprrrreeeessssssss or ggggzzzziiiipppp.  Finally, precede
  1084.       the image file name with | to    pipe to    or from    a system
  1085.       command.
  1086.  
  1087.       Use an optional index    enclosed in brackets after a file name
  1088.       to specify a desired subimage    of a multi-resolution image
  1089.       format like Photo CD (e.g. img0001.pcd[4]) or    a range    for
  1090.       MPEG images (e.g. video.mpg[50-75]).    A subimage
  1091.       specification    can be disjoint    (e.g. image.tiff[2,7,4]).  For
  1092.       raw images, specify a    subimage with a    geometry (e.g.    -size
  1093.       640x512 image.rgb[320x256+50+50]).
  1094.  
  1095.      IIIIMMMMAAAAGGGGEEEE SSSSEEEEGGGGMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  1096.       Use ----sssseeeeggggmmmmeeeennnntttt to segment an image by analyzing    the histograms
  1097.       of the color components and identifying units    that are
  1098.       homogeneous with the fuzzy c-means technique.     The scale-
  1099.       space    filter analyzes    the histograms of the three color
  1100.       components of    the image and identifies a set of classes.
  1101.       The extents of each class is used to coarsely    segment    the
  1102.       image    with thresholding.  The    color associated with each
  1103.       class    is determined by the mean color    of all pixels within
  1104.       the extents of a particular class.  Finally, any
  1105.       unclassified pixels are assigned to the closest class    with
  1106.       the fuzzy c-means technique.
  1107.  
  1108.       The fuzzy c-Means algorithm can be summarized    as follows:
  1109.  
  1110.            o Build a histogram, one    for each color component of
  1111.            the image.
  1112.  
  1113.            o For each histogram, successively apply    the scale-
  1114.            space filter and    build an interval tree of zero
  1115.            crossings in the    second derivative at each scale.
  1116.  
  1117.  
  1118.  
  1119.      Page 17                        (printed 12/17/98)
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.      mmmmooooggggrrrriiiiffffyyyy((((1111))))         IIIImmmmaaaaggggeeeeMMMMaaaaggggiiiicccckkkk ((((1111    MMMMaaaayyyy 1111999999994444))))        mmmmooooggggrrrriiiiffffyyyy((((1111))))
  1127.  
  1128.  
  1129.  
  1130.            Analyze this scale-space    ``fingerprint''    to determine
  1131.            which peaks or valleys in the histogram are most
  1132.            predominant.
  1133.  
  1134.            o The fingerprint defines intervals on the axis of the
  1135.            histogram.  Each    interval contains either a minima or a
  1136.            maxima in the original signal.  If each color component
  1137.            lies within the maxima interval,    that pixel is
  1138.            considered ``classified'' and is    assigned an unique
  1139.            class number.
  1140.  
  1141.            o Any pixel that    fails to be classified in the above
  1142.            thresholding pass is classified using the fuzzy c-Means
  1143.            technique.  It is assigned to one of the    classes
  1144.            discovered in the histogram analysis phase.
  1145.  
  1146.       The fuzzy c-Means technique attempts to cluster a pixel by
  1147.       finding the local minima of the generalized within group sum
  1148.       of squared error objective function.    A pixel    is assigned to
  1149.       the closest class of which the fuzzy membership has a
  1150.       maximum value.
  1151.  
  1152.       For additional information see
  1153.  
  1154.            Young Won Lim, Sang Uk Lee, "On The Color Image
  1155.            Segmentation Algorithm Based on the Thresholding    and
  1156.            the Fuzzy c-Means Techniques", Pattern Recognition,
  1157.            Volume 23, Number 9, pages 935-952, 1990.
  1158.  
  1159.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  1160.       ddddiiiissssppppllllaaaayyyy((((1111)))),,,, aaaannnniiiimmmmaaaatttteeee((((1111)))),,,, iiiimmmmppppoooorrrrtttt((((1111)))),,,, mmmmoooonnnnttttaaaaggggeeee((((1111)))),,,, ccccoooonnnnvvvveeeerrrrtttt((((1111)))),,,,
  1161.       ccccoooommmmbbbbiiiinnnneeee((((1111)))),,,, xxxxttttpppp((((1111))))
  1162.  
  1163.      CCCCOOOOPPPPYYYYRRRRIIIIGGGGHHHHTTTT
  1164.       Copyright 1998 E. I. du Pont de Nemours and Company
  1165.  
  1166.       Permission is    hereby granted,    free of    charge,    to any person
  1167.       obtaining a copy of this software and    associated
  1168.       documentation    files ("ImageMagick"), to deal in ImageMagick
  1169.       without restriction, including without limitation the    rights
  1170.       to use, copy,    modify,    merge, publish,    distribute,
  1171.       sublicense, and/or sell copies of ImageMagick, and to    permit
  1172.       persons to whom the ImageMagick is furnished to do so,
  1173.       subject to the following conditions:
  1174.  
  1175.       The above copyright notice and this permission notice    shall
  1176.       be included in all copies or substantial portions of
  1177.       ImageMagick.
  1178.  
  1179.       The software is provided "as is", without warranty of    any
  1180.       kind,    express    or implied, including but not limited to the
  1181.       warranties of    merchantability, fitness for a particular
  1182.  
  1183.  
  1184.  
  1185.      Page 18                        (printed 12/17/98)
  1186.  
  1187.  
  1188.  
  1189.  
  1190.  
  1191.  
  1192.      mmmmooooggggrrrriiiiffffyyyy((((1111))))         IIIImmmmaaaaggggeeeeMMMMaaaaggggiiiicccckkkk ((((1111    MMMMaaaayyyy 1111999999994444))))        mmmmooooggggrrrriiiiffffyyyy((((1111))))
  1193.  
  1194.  
  1195.  
  1196.       purpose and noninfringement.    In no event shall E. I.    du
  1197.       Pont de Nemours and Company be liable    for any    claim, damages
  1198.       or other liability, whether in an action of contract,    tort
  1199.       or otherwise,    arising    from, out of or    in connection with
  1200.       ImageMagick or the use or other dealings in ImageMagick.
  1201.  
  1202.       Except as contained in this notice, the name of the E. I. du
  1203.       Pont de Nemours and Company shall not    be used    in advertising
  1204.       or otherwise to promote the sale, use    or other dealings in
  1205.       ImageMagick without prior written authorization from the E.
  1206.       I. du    Pont de    Nemours    and Company.
  1207.  
  1208.      AAAACCCCKKKKNNNNOOOOWWWWLLLLEEEEDDDDGGGGEEEEMMMMEEEENNNNTTTTSSSS
  1209.       Michael Halle, Spatial Imaging Group at MIT, for the initial
  1210.       implementation of Alan Paeth's image rotation    algorithm.
  1211.  
  1212.       David    Pensak,    E. I. du Pont de Nemours and Company, for
  1213.       providing a computing    environment that made this program
  1214.       possible.
  1215.  
  1216.       Paul Raveling, USC Information Sciences Institute, for the
  1217.       original idea    of using space subdivision for the color
  1218.       reduction algorithm.
  1219.  
  1220.      AAAAUUUUTTTTHHHHOOOORRRRSSSS
  1221.       John Cristy, E.I. du Pont de Nemours and Company
  1222.       Incorporated
  1223.  
  1224.  
  1225.  
  1226.  
  1227.  
  1228.  
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  
  1234.  
  1235.  
  1236.  
  1237.  
  1238.  
  1239.  
  1240.  
  1241.  
  1242.  
  1243.  
  1244.  
  1245.  
  1246.  
  1247.  
  1248.  
  1249.  
  1250.  
  1251.      Page 19                        (printed 12/17/98)
  1252.  
  1253.  
  1254.  
  1255.